/* Copyright (c) 2004-2024 Peigen.info. All rights reserved. */

package info.peigen.hotpot.component.open.api.core.service.processor.base.pre.callback;

import info.peigen.hotpot.component.open.api.facade.order.OpenApiCallbackOrder;
import info.peigen.hotpot.component.open.api.facade.processor.base.OpenApiProcessor;
import info.peigen.hotpot.component.open.api.facade.processor.base.OpenApiProcessorServiceContext;
import org.noear.solon.annotation.Component;


/**
 * <b>(OpenApiCallbackCallTypeProcessor)</b>
 * <p>
 * 调用方式处理器：
 * RequestBody、Form
 *
 * @author Peigen
 * @version 1.0.0
 * @since 2022/9/20
 */
@Component
public class OpenApiCallbackCallTypeProcessor implements OpenApiProcessor {
    @Override
    public Integer level() {
        return 7;
    }

    @Override
    public void execute(OpenApiProcessorServiceContext serviceContext) {
        OpenApiCallbackOrder order    = (OpenApiCallbackOrder) serviceContext.getOrder();
        String               callType = order.getCallType();

    }
}